package com.sugar.follow.up.module.business.service.publicityeducation;

import java.util.*;
import javax.validation.*;
import com.sugar.follow.up.module.business.controller.admin.publicityeducation.vo.*;
import com.sugar.follow.up.module.business.controller.app.publicityeducation.vo.AppPublicityEducationDetailRespVO;
import com.sugar.follow.up.module.business.dal.dataobject.publicityeducation.PublicityEducationDO;
import com.sugar.follow.up.framework.common.pojo.PageResult;
import com.sugar.follow.up.framework.common.pojo.PageParam;

/**
 * 宣教 Service 接口
 *
 * @author Ysugar
 */
public interface PublicityEducationService {

    /**
     * 创建宣教
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    Long createPublicityEducation(@Valid PublicityEducationSaveReqVO createReqVO);

    /**
     * 更新宣教
     *
     * @param updateReqVO 更新信息
     */
    void updatePublicityEducation(@Valid PublicityEducationSaveReqVO updateReqVO);

    /**
     * 删除宣教
     *
     * @param id 编号
     */
    void deletePublicityEducation(Long id);

    /**
    * 批量删除宣教
    *
    * @param ids 编号
    */
    void deletePublicityEducationListByIds(List<Long> ids);

    /**
     * 获得宣教
     *
     * @param id 编号
     * @return 宣教
     */
    PublicityEducationDO getPublicityEducation(Long id);

    /**
     * 获得宣教分页
     *
     * @param pageReqVO 分页查询
     * @return 宣教分页
     */
    PageResult<PublicityEducationDO> getPublicityEducationPage(PublicityEducationPageReqVO pageReqVO);

    AppPublicityEducationDetailRespVO appGetPublicityEducation(Long id);
}